package com.hd.util.id;

import org.activiti.engine.impl.cfg.IdGenerator;

public class ActivitiIdGeneator implements IdGenerator{

	@Override
	public String getNextId() {
		SnowflakeIdWorker idWorker = new SnowflakeIdWorker(0, 0);
		String nextId=""+idWorker.nextId();
		return nextId;
	}

}
